class CreateCommentaries < ActiveRecord::Migration
  def self.up
    create_table :commentaries do |t|
      t.string :cmt
      t.integer :rate
      t.integer :reservation_id
      t.integer :user_id
      t.integer :local_id
      t.integer :restaurant_id

      t.timestamps
    end
  end

  def self.down
    drop_table :commentaries
  end
end
